package com.foreknow.dao;

import com.foreknow.entity.Checkrelation;

public interface CheckrelationMapper {


    /**
     * 根据id删除
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 添加
     * @param record
     * @return
     */
    int insert(Checkrelation record);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Checkrelation selectByPrimaryKey(Integer id);

    /**
     * 根据record更新
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Checkrelation record);

    /**
     * 根据record更新
     * @param record
     * @return
     */
    int updateByPrimaryKey(Checkrelation record);
}